std::fputs

From Cppreference

< cpp | io | c
Jump to: navigation, search
Defined in header <cstdio>

int fputs( const char *str, FILE *stream );

Writes given null-terminated character string to the given output stream.

Parameters

str - null-terminated character string to be written
stream - output stream

Return value

non-negative integer on success, EOF on failure

See also

printf
fprintf
sprintf
snprintf



(C++0x)
prints formatted output to stdout, a file stream or a buffer
(function)
puts
writes a character string to stdout
(function)
fgets
gets a character string from a file stream
(function)
Personal tools
Namespaces
Variants
Actions
Navigation
Toolbox
In other languages